package com.yj.passport.entity;

import java.io.Serializable;

/**
 * Created by yesiming on 15/4/29.
 */
public class UserPassport implements Serializable {

    private static final long serialVersionUID = 1L;

    private long userId;

    private int deviceId;

    private String ticket;

    // 用户帐号
    private String account;

    // 接入方唯一标识
    private int appId;

    // 账户来源
    private int accountOrigin;

    // 第三方token
    private String thirdPartyToken;

    // 创建时间
    private long createTime;

    // 用户的密钥
    private String userSecretKey;

    // 唯一id
    private String uuid;

    

    public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(int deviceId) {
        this.deviceId = deviceId;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getAccountOrigin() {
        return accountOrigin;
    }

    public void setAccountOrigin(int accountOrigin) {
        this.accountOrigin = accountOrigin;
    }

    public String getThirdPartyToken() {
        return thirdPartyToken;
    }

    public void setThirdPartyToken(String thirdPartyToken) {
        this.thirdPartyToken = thirdPartyToken;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUserSecretKey() {
        return userSecretKey;
    }

    public void setUserSecretKey(String userSecretKey) {
        this.userSecretKey = userSecretKey;
    }

    @Override
    public String toString() {
        return "UserPassport{" +
                "userId=" + userId +
                ", deviceId=" + deviceId +
                ", ticket='" + ticket + '\'' +
                ", account='" + account + '\'' +
                ", appId=" + appId +
                ", accountOrigin=" + accountOrigin +
                ", thirdPartyToken='" + thirdPartyToken + '\'' +
                ", createTime=" + createTime +
                ", userSecretKey='" + userSecretKey + '\'' +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
